<!DOCTYPE html>
<html lang="zh_CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>HTML+CSS手风琴</title>
  <link rel="stylesheet" href="./accordion.css">
</head>

<body>
  <div class="container">
    <ul>
      <li><img src="./images/1.jpg" alt="">
      <p>图片一</p>
      </li>
      <li><img src="./images/2.jpg" alt="">
        <p>图片二</p>
      </li>
      <li><img src="./images/3.jpg" alt="">
        <p>图片三</p></li>
      <li><img src="./images/4.jpg" alt="">
        <p>图片四</p></li>
      <li><img src="./images/5.jpg" alt="">
        <p>图片五</p></li>
    </ul>
  </div>
</body>

</html>